/*
 * @Descripttion: 全局数据类型
 * @version: 1.0
 * @Author: Indolphin
 * @Date: 2021-03-12 22:10:31
 * @LastEditors: Indolphin
 * @LastEditTime: 2021-03-14 14:37:30
 */

import { Method } from 'axios';

/**
 * 请求数据
 */
export interface RequestData {
    url: string,
    data?: any,
    method?: Method
}

/**
 * 用户信息
 */
export interface User {
    username: string,
    password?: string,
    rememberme?: boolean
}

export interface LoginResponse {
    access_token: string
}